package com.qys.livesMall.shop.modal.dto.settlement;

import com.qys.livesMall.app.user.model.entity.H2AppUser;
import com.qys.livesMall.shop.modal.entity.ShopGoodsSkuStocks;
import com.qys.livesMall.shop.modal.entity.ShopOrderPaymentRate;
import com.qys.livesMall.shop.modal.entity.ShopOrderSettlementInfo;
import com.qys.livesMall.shop.modal.entity.ShopOrderSku;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @menu handleDTO
 * @date 2023/07/12 17:53
 */
@Data
public class SettlementHandleContext {


    /**
     * 店主
     */
    private H2AppUser shopUser;
    /**
     * 订单
     */
    private ShopOrderSku orderSku;

    /**
     * 采购单
     */
    private ShopGoodsSkuStocks skuStocks;

    /**
     * 主播用户ID
     */
    private Long anchorUserId;
    /**
     * 分成
     */
    private ShopOrderSettlementInfo settlementInfo;

    /**
     * 上级分成
     */
    private List<SuperiorInfo> superiorInfos;

    /**
     * 成本是否扣除
     */
    private boolean deductCost;


    /**
     * 分成比例
     */
    private ShopOrderPaymentRate paymentRate;
}

